package com.hfut.jpoa.dao;

import java.util.List;

import com.hfut.jpoa.common.dto.ResultDto;
import com.hfut.jpoa.common.exception.DaoException;
import com.hfut.jpoa.dto.SysparaDTO;
import com.hfut.jpoa.model.Syspara;

public interface SysparaDAO
{
	public int deleteByPrimaryKey(String id) throws DaoException;

	public void insert(Syspara record) throws DaoException;

	public void insertSelective(Syspara record) throws DaoException;

	public Syspara selectByPrimaryKey(String id) throws DaoException;

	public int updateByPrimaryKeySelective(Syspara record) throws DaoException;

	public int updateByPrimaryKey(Syspara record) throws DaoException;

	public ResultDto<Syspara> findSysparaInfoForPage(SysparaDTO sysparaDTO)
	        throws DaoException;

	/**
	 * 根据条件查询字典列表
	 * 
	 * @param syspara
	 * @return
	 */
	public List<Syspara> querySysparaList(Syspara syspara);

	/**
	 * 统计符合条件记录个数
	 * 
	 * @param record
	 * @return
	 * @throws DaoException
	 */
	public int count(Syspara record) throws DaoException;

}